package behavioral.visitor;

/**
 * @Description: 顾客
 * @Author: lxt
 * @CreateDate: 2019/11/1
 **/
public class CustomerVisitor extends AbstractVisitor {
    public void visit(MeatProduct meat) {
        System.out.println("小明正在挑选猪肉");
    }

    public void visit(BeerProduct beer) {
        System.out.println("小明正在挑选啤酒");
    }
}
